package com.itheima.spring.samples;


public class HBean {

    private String name;


    public HBean() {
        System.out.println("调用了dBean的无参构造");
    }

    /*public DBean(String name) {
        this.name = name;
    }*/

    public void doSomthing() {
        System.out.println(System.currentTimeMillis() + " " + this.name);
    }
}
